package com.ask.langchain4j_springboot.service;

import dev.langchain4j.agent.tool.P;
import dev.langchain4j.agent.tool.Tool;
import org.springframework.stereotype.Service;

@Service
public class RefundToolsService {
    @Tool("退票")
    public void cancel(@P("车牌订单号") String orderId, @P("用户名") String userName) {
        System.out.println("用户:" + userName + "退票:" + orderId);
    }
}
